
#ifndef _LOGIN_SCENE_H_
#define _LOGIN_SCENE_H_

//#include "ccscene.h"
#include "cocos2d.h"
#include "CocosGUI.h"
//#include "cocos-ext.h"
USING_NS_CC;


void runSceneEditorTestLayer();

class SceneEditorTestLayer : public cocos2d::CCLayerColor
{
public:
	SceneEditorTestLayer();
	~SceneEditorTestLayer();

	// Here's a difference. Method 'init' in cocos2d-x returns bool, 
	// instead of returning 'id' in cocos2d-iphone
	virtual bool init();

	// there's no 'id' in cpp, so we recommand to return the exactly class pointer
	static cocos2d::CCScene* scene();

	// implement the "static node()" method manually
	CREATE_FUNC(SceneEditorTestLayer);

	// init scene
	cocos2d::CCNode* createGameScene();

	//back to Extensions Main Layer
	void toExtensionsMainLayer(cocos2d::CCObject *sender);
};

class CLoginScene :
	public CCScene
{
public:
	CLoginScene(void);
	virtual ~CLoginScene(void);
public:
	static CLoginScene* create();
	virtual void draw();
	virtual void onEnter();
	virtual void onExit();
	virtual void cleanup();
};
#endif
